//	--------------------------------------------------------------------
//	Copyright(C) 2006,2007 Zhao Yukun. All rights reserved.
//	This file is a part of the Xeres system.
//	Xeres 2007
//	Contact : xeres.engine@gmail.com
//	$(reservedInfo)
//	$(reservedDeclaration)
//	--------------------------------------------------------------------
///	@file	<CBlendState10.h>
///	@path	~/src/graphics/dx10/
///	@date	2008/12/22
///	@desc	.

#pragma once

#include "xeres.h"

#include <vector>

#include "graphics/IBlendState.h"
#include "graphics/dx10/CDevice10.h"

namespace xeres {

	/*! 
		\class	CBlendState10
		\brief
	*/
	class CBlendState10 : public IBlendState
	{
	public:

		/// \ctor
		CBlendState10( BlendSet& blend_set , RefWeak<CDevice10> device );

		/// \dtor
		virtual ~CBlendState10( void );

		DECL_IOBJECT_CLASS( CBlendState10 , IBlendState );

	public:

		/// \brief	Apply blend state.
		virtual void Apply( RenderContext& rc );

	private:

		//@ data
		ID3D10BlendState *		m_state;
	};
	
} // namespace xeres
